//
//  ByApiMine.h
//  chequanbao_ios
//
//  Created by mc on 2017/6/26.
//  Copyright © 2017年 com.itboye. All rights reserved.
//

#import "ByNetBaseApi.h"

#define code_log_debug 1

#if code_log_debug == 1
#define CodeLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);
#else
#define CodeLog(...)
#endif


@interface ByApiMine : ByNetBaseApi

// 获取车险金
+ (void)getMinePoints:(ByNetParamsModel *)model
              success:(void(^)(ByNetBaseResult *result))success
              failure:(void(^)(ByNetBaseResult *result))failure;

// 申请提现
+ (void)applyforcash:(ByNetParamsModel *)model
             success:(void(^)(ByNetBaseResult *result))success
             failure:(void(^)(ByNetBaseResult *result))failure;

// 获取账户变动记录（我的收入、我的支出）
+ (void)changeRecord:(ByNetParamsModel *)model
             success:(void(^)(ByNetBaseResult *result))success
             failure:(void(^)(ByNetBaseResult *result))failure;

// 用户查询购买记录
+ (void)buyRecord:(ByNetParamsModel *)model
             success:(void(^)(ByNetBaseResult *result))success
             failure:(void(^)(ByNetBaseResult *result))failure;

// 获取亲朋好友数据
+ (void)fetchCountInfo:(ByNetParamsModel *)model
               success:(void(^)(ByNetBaseResult *result))success
               failure:(void(^)(ByNetBaseResult *result))failure;

// 获取亲朋好友列表
+ (void)fetchFriendList:(ByNetParamsModel *)model
                success:(void(^)(ByNetBaseResult *result))success
                failure:(void(^)(ByNetBaseResult *result))failure;
@end
